﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace observerPatternSample
{
    class Program
    {
        static void Main(string[] args)
        {
            calculator calcu = new calculator();

            addDisplay addD = new addDisplay(calcu);
            subDisplay subD = new subDisplay(calcu);

            calcu.setValues(1, 1);

            Console.ReadKey();
        }
    }
}
